/*
 * COPYRIGHT. HSBC HOLDINGS PLC 2016. ALL RIGHTS RESERVED.
 * 
 * This software is only to be used for the purpose for which it has been
 * provided. No part of it is to be reproduced, disassembled, transmitted,
 * stored in a retrieval system nor translated in any human or computer
 * language in any way or for any other purposes whatsoever without the
 * written consent of HSBC Holdings plc.
 */
package com.pactera.integral.dao;

import org.springframework.stereotype.Repository;

import com.pactera.integral.entity.Department;


/**
 * @type_name DepartmentDao
 */
@Repository("departmentDao")
public interface DepartmentDao extends CommonRepository<Department, String>{

	Department findByName(String name);
	
	Department findByDepartmentCode(String departmentCode);
	
	Department findByDepartmentId(String departmentId);
	
	Department findByDepartmentIdAndDepartmentCode(String departmentId, String departmentCode);
}
